package nmap

import (
	m "git.oschina.net/go-pkg/nmap/models"
)

type Nmap interface {
	Scan(targets []string, args ...string) (*m.NmapRun, error)
	Scan2(args ...string) (*m.NmapRun, error)
	Scan3(args []string, targets ...string) (*m.NmapRun, error)
	PingScan(targets []string) (*m.NmapRun, error)
	PingScan2(targets ...string) (*m.NmapRun, error)
}

func New() Nmap {
	/*nmap := &cmdNmap{
		Path: DefaultNmapPath,
	}*/
	return newCmdNmap()
}
